package com.example.carrierapp.ui.main.dispatch.yes;

import com.example.carrierapp.base.BaseView;
import com.example.carrierapp.bean.RowsBean;
import com.example.carrierapp.viewmodel.itemmodel.ItemDispatchModel;

public interface DispatchYesContract {
    interface Presenter {

        void getDispatchList(String filter, int page);


        void setTop(int id);

        void cancelTop(int id);

    }

    interface View extends BaseView {
        void getDispatchListSuccess(RowsBean<ItemDispatchModel> rows);

        void onTopSuccess(boolean isTop);

        void getDispatchListFailde(String msg);

    }
}
